Introduce __must_be_array
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 20 May 2009 14:29:25 +0000 (15:29 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 20 May 2009 14:29:25 +0000 (15:29 +0100)
commiteaa024d29620e08f75090ffc90343c09176c2b12
tree22f3417bbbb3b469a6245782f9bd59497187756a
parent9f6d07bac9f14aaa8bafe38b4a217e61a3a57842
Introduce __must_be_array

Cloning the similar construct from Linux, allowing to detect improper
uses of ARRAY_SIZE() at build time.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/include/xen/compiler.h
xen/include/xen/config.h
xen/include/xen/lib.h